package com.jeesite.modules.otherinbound.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.otherinbound.entity.OtherInboundBarcode;
import com.jeesite.modules.otherinbound.dao.OtherInboundBarcodeDao;

/**
 * 其它入库单条码Service
 * @author 码脑洞
 * @version 2025-04-13
 */
@Service
public class OtherInboundBarcodeService extends CrudService<OtherInboundBarcodeDao, OtherInboundBarcode> {
	
	/**
	 * 获取单条数据
	 * @param otherInboundBarcode
	 * @return
	 */
	@Override
	public OtherInboundBarcode get(OtherInboundBarcode otherInboundBarcode) {
		return super.get(otherInboundBarcode);
	}
	
	/**
	 * 查询分页数据
	 * @param otherInboundBarcode 查询条件
	 * @param otherInboundBarcode page 分页对象
	 * @return
	 */
	@Override
	public Page<OtherInboundBarcode> findPage(OtherInboundBarcode otherInboundBarcode) {
		return super.findPage(otherInboundBarcode);
	}
	
	/**
	 * 查询列表数据
	 * @param otherInboundBarcode
	 * @return
	 */
	@Override
	public List<OtherInboundBarcode> findList(OtherInboundBarcode otherInboundBarcode) {
		return super.findList(otherInboundBarcode);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param otherInboundBarcode
	 */
	@Override
	@Transactional
	public void save(OtherInboundBarcode otherInboundBarcode) {
		super.save(otherInboundBarcode);
	}
	
	/**
	 * 更新状态
	 * @param otherInboundBarcode
	 */
	@Override
	@Transactional
	public void updateStatus(OtherInboundBarcode otherInboundBarcode) {
		super.updateStatus(otherInboundBarcode);
	}
	
	/**
	 * 删除数据
	 * @param otherInboundBarcode
	 */
	@Override
	@Transactional
	public void delete(OtherInboundBarcode otherInboundBarcode) {
		super.delete(otherInboundBarcode);
	}
	
}